use ironrdp_graphics::rlgr::*;
use ironrdp_pdu::codecs::rfx::EntropyAlgorithm;

#[test]
fn encode_works_with_rlgr3() {
    let input = [
        Y_DATA_DECODED.as_ref(),
        CB_DATA_DECODED.as_ref(),
        CR_DATA_DECODED.as_ref(),
    ];
    let expected = [
        Y_DATA_ENCODED.as_ref(),
        CB_DATA_ENCODED.as_ref(),
        CR_DATA_ENCODED.as_ref(),
    ];
    let mode = EntropyAlgorithm::Rlgr3;

    for (input, expected) in input.iter().zip(expected.iter()) {
        let output_len = expected.len();
        let mut output = vec![0u8; output_len];
        encode(mode, input, &mut output).unwrap();
        assert_eq!(*expected, &output);
    }
}

#[test]
fn decode_works_with_rlgr3() {
    let input = [
        Y_DATA_ENCODED.as_ref(),
        CB_DATA_ENCODED.as_ref(),
        CR_DATA_ENCODED.as_ref(),
    ];
    let expected = [
        Y_DATA_DECODED.as_ref(),
        CB_DATA_DECODED.as_ref(),
        CR_DATA_DECODED.as_ref(),
    ];
    let output_len = expected[0].len();
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0i16; expected.len() * output_len];
    for (i, (input, expected)) in input.iter().zip(expected.iter()).enumerate() {
        decode(mode, input, &mut output[i * output_len..(i + 1) * output_len]).unwrap();
        assert_eq!(**expected, output[i * 4096..(i + 1) * 4096]);
    }
}

#[test]
fn decode_correctly_decodes_rl_without_leading_zeros_and_ones() {
    let input = [0b1100_0000];
    let expected = [0, 1];
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0i16; expected.len()];
    decode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn decode_correctly_decodes_rl_with_not_null_sign_bit() {
    let input = [0b1110_0000];
    let expected = [0, -1];
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0i16; expected.len()];
    decode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn decode_correctly_decodes_rl_with_leading_zeros() {
    let input = [0b00000000, 0b10011001, 0b1100_0000];
    let expected = [[0; 66].as_ref(), [7].as_ref()].concat();
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0i16; expected.len()];
    decode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected, output);
}

#[test]
fn encode_correctly_encodes_rl_with_leading_zeros() {
    let expected = [0b00000000, 0b10011001, 0b1100_0000];
    let input = [[0; 66].as_ref(), [7].as_ref()].concat();
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0; expected.len()];
    encode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected, output.as_slice());
}

#[test]
fn decode_correctly_decodes_rl_with_leading_ones() {
    let input = [0b11011111, 0b11111101];
    let expected = [0, 24];
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0i16; expected.len()];
    decode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn encode_correctly_encodes_rl_with_leading_ones() {
    let expected = [0b11011111, 0b11111101];
    let input = [0, 24];
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0; expected.len()];
    encode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn decode_correctly_decodes_rlgr3() {
    let input = [0b11000000];
    let expected = [0, 1, 0, 0];
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0i16; expected.len()];
    decode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn encode_correctly_encodes_rlgr3() {
    let expected = [0b11000000];
    let input = [0, 1, 0, 0];
    let mode = EntropyAlgorithm::Rlgr3;

    let mut output = vec![0; expected.len()];
    encode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn decode_correctly_decodes_rlgr1() {
    let input = [0b11000111, 0b11111000];
    let expected = [0, 1, 4, 0];
    let mode = EntropyAlgorithm::Rlgr1;

    let mut output = vec![0i16; expected.len()];
    decode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

#[test]
fn encode_correctly_encodes_rlgr1() {
    let expected = [0b11000111, 0b11111000];
    let input = [0, 1, 4, 0];
    let mode = EntropyAlgorithm::Rlgr1;

    let mut output = vec![0; expected.len()];
    encode(mode, input.as_ref(), output.as_mut_slice()).unwrap();
    assert_eq!(expected.as_ref(), output.as_slice());
}

const Y_DATA_ENCODED: [u8; 942] = [
    0xc0, 0x01, 0x01, 0x15, 0x48, 0x99, 0xc7, 0x41, 0xa1, 0x12, 0x68, 0x11, 0xdc, 0x22, 0x29, 0x74, 0xef, 0xfd, 0x20,
    0x92, 0xe0, 0x4e, 0xa8, 0x69, 0x3b, 0xfd, 0x41, 0x83, 0xbf, 0x28, 0x53, 0x0c, 0x1f, 0xe2, 0x54, 0x0c, 0x77, 0x7c,
    0xa3, 0x05, 0x7c, 0x30, 0xd0, 0x9c, 0xe8, 0x09, 0x39, 0x1a, 0x5d, 0xff, 0xe2, 0x01, 0x22, 0x13, 0x80, 0x90, 0x87,
    0xd2, 0x9f, 0xfd, 0xfd, 0x50, 0x09, 0x0d, 0x24, 0xa0, 0x8f, 0xab, 0xfe, 0x3c, 0x04, 0x84, 0xc6, 0x9c, 0xde, 0xf8,
    0x80, 0xc3, 0x22, 0x50, 0xaf, 0x4c, 0x2a, 0x7f, 0xfe, 0xe0, 0x5c, 0xa9, 0x52, 0x8a, 0x06, 0x7d, 0x3d, 0x09, 0x03,
    0x65, 0xa3, 0xaf, 0xd2, 0x61, 0x1f, 0x72, 0x04, 0x50, 0x8d, 0x3e, 0x16, 0x4a, 0x3f, 0xff, 0xfd, 0x41, 0x42, 0x87,
    0x24, 0x37, 0x06, 0x17, 0x2e, 0x56, 0x05, 0x9c, 0x1c, 0xb3, 0x84, 0x6a, 0xff, 0xfb, 0x43, 0x8b, 0xa3, 0x7a, 0x32,
    0x43, 0x28, 0xe1, 0x1f, 0x50, 0x54, 0xfc, 0xca, 0xa5, 0xdf, 0xff, 0x08, 0x04, 0x48, 0x15, 0x61, 0xd9, 0x76, 0x43,
    0xf8, 0x2a, 0x07, 0xe9, 0x65, 0xf7, 0xc6, 0x89, 0x2d, 0x40, 0xa1, 0xc3, 0x35, 0x8d, 0xf5, 0xed, 0xf5, 0x91, 0xae,
    0x2f, 0xcc, 0x01, 0xce, 0x03, 0x48, 0xc0, 0x8d, 0x63, 0xf4, 0xfd, 0x50, 0x20, 0x2d, 0x0c, 0x9b, 0xb0, 0x8d, 0x13,
    0xc0, 0x8a, 0x09, 0x52, 0x1b, 0x02, 0x6e, 0x42, 0x3b, 0xd0, 0x13, 0x4e, 0x84, 0x01, 0x26, 0x88, 0x6a, 0x04, 0x84,
    0x34, 0x2a, 0xa5, 0x00, 0xba, 0x54, 0x48, 0x58, 0xea, 0x54, 0x02, 0xb4, 0x1d, 0xa7, 0xfa, 0x47, 0x82, 0xec, 0x7a,
    0x77, 0xfd, 0x00, 0x92, 0x66, 0x62, 0x04, 0xa6, 0x9b, 0xff, 0xf6, 0x80, 0xc0, 0x69, 0x01, 0xc2, 0x3e, 0x90, 0x14,
    0x20, 0x2f, 0xfc, 0x40, 0x96, 0x59, 0x58, 0x0c, 0xb1, 0x13, 0x68, 0x20, 0x2e, 0xb5, 0xf5, 0xdf, 0xff, 0xf8, 0xfc,
    0x56, 0x88, 0x60, 0x24, 0x53, 0xb5, 0x41, 0x46, 0x5f, 0xf8, 0xf1, 0x7e, 0xde, 0x4a, 0x08, 0x97, 0xe0, 0x55, 0x03,
    0x8f, 0xe5, 0x75, 0x61, 0x03, 0xf2, 0xe1, 0x90, 0x01, 0xa2, 0x8e, 0x88, 0x04, 0x98, 0x05, 0x93, 0x6b, 0xff, 0xea,
    0xc0, 0x60, 0xa1, 0x88, 0x04, 0x49, 0xbf, 0xf7, 0xff, 0x8c, 0xb4, 0x59, 0x90, 0x80, 0x30, 0x64, 0x53, 0xff, 0xf5,
    0xc4, 0x48, 0xda, 0xda, 0xcb, 0x80, 0x38, 0x61, 0x57, 0xb2, 0xaf, 0x00, 0xe8, 0x7b, 0x46, 0xe6, 0xd8, 0x02, 0x03,
    0x8a, 0x06, 0x18, 0x14, 0x32, 0x83, 0xd0, 0x8a, 0xee, 0xbc, 0x81, 0xb4, 0x28, 0xc4, 0x7f, 0xf9, 0xa1, 0x69, 0x00,
    0x91, 0xc5, 0x51, 0xff, 0xfe, 0x3f, 0xe9, 0xf1, 0x70, 0x30, 0x24, 0x10, 0xa7, 0xcb, 0x1f, 0x8a, 0x24, 0x93, 0xed,
    0x83, 0x00, 0x36, 0x20, 0xd1, 0x50, 0xe7, 0xd8, 0xad, 0x58, 0x20, 0x09, 0x22, 0x80, 0xd0, 0xca, 0x5d, 0x1a, 0xd7,
    0xf1, 0x60, 0x75, 0x2a, 0xf2, 0xd7, 0xf8, 0xc0, 0x32, 0x45, 0x86, 0x00, 0x43, 0x01, 0xfe, 0x80, 0xf7, 0x42, 0x81,
    0x74, 0x84, 0x4c, 0xa1, 0x60, 0x4c, 0xcb, 0x14, 0x58, 0x01, 0x4d, 0x18, 0xa1, 0xaa, 0x47, 0x0e, 0x11, 0x1a, 0x40,
    0x7d, 0x41, 0x02, 0xe3, 0x30, 0xcd, 0x33, 0x81, 0x34, 0x06, 0x46, 0x83, 0xa2, 0x47, 0x1c, 0x04, 0xaa, 0x20, 0x12,
    0xa2, 0x8b, 0x81, 0xc4, 0x9c, 0xa0, 0x2e, 0x06, 0x32, 0xf8, 0x86, 0x85, 0x01, 0xe8, 0x70, 0xf9, 0x46, 0x09, 0x6a,
    0xbf, 0xe0, 0xf5, 0xa4, 0xc8, 0x78, 0xe7, 0xd2, 0x97, 0x0b, 0xbc, 0x3c, 0x97, 0xff, 0xd5, 0x40, 0x94, 0xb2, 0xc1,
    0x18, 0x18, 0x11, 0x1f, 0x43, 0xc1, 0x18, 0xc3, 0x83, 0x7f, 0x9a, 0x31, 0xc4, 0x8e, 0x70, 0x56, 0xda, 0xf6, 0x17,
    0xde, 0xd1, 0x02, 0x0d, 0x42, 0x21, 0x13, 0xdc, 0x3a, 0x3c, 0x40, 0x9e, 0xf4, 0x01, 0x43, 0xea, 0x0c, 0x46, 0x73,
    0xa2, 0x7b, 0x0c, 0x80, 0xff, 0xe4, 0xad, 0x2e, 0x09, 0xb4, 0x63, 0xb0, 0x8c, 0x54, 0x59, 0xfa, 0xac, 0x76, 0x36,
    0x10, 0x05, 0xf0, 0x98, 0x88, 0x83, 0x42, 0x00, 0x20, 0x71, 0xcc, 0xc1, 0xa9, 0x97, 0x3e, 0x5a, 0x0d, 0x04, 0x50,
    0x92, 0x23, 0x20, 0x0d, 0x0a, 0x1c, 0x57, 0xd7, 0xff, 0x10, 0xf2, 0x03, 0x0f, 0x58, 0x1b, 0xa5, 0x11, 0xf8, 0xf1,
    0xb4, 0x12, 0xdb, 0x1a, 0x48, 0x56, 0x1f, 0xe3, 0xc7, 0x50, 0xe9, 0x16, 0xb4, 0xbc, 0xb0, 0x40, 0x93, 0xea, 0xb5,
    0x5b, 0x2f, 0xfc, 0x50, 0x0a, 0x6f, 0xcc, 0x25, 0xe0, 0x06, 0xab, 0x5f, 0x24, 0xfe, 0x8b, 0xcb, 0x42, 0x43, 0x7e,
    0x69, 0x02, 0x25, 0xc7, 0x38, 0x00, 0x6e, 0xe5, 0x80, 0xa8, 0xa4, 0x30, 0x44, 0x15, 0x8f, 0xe9, 0x0c, 0xd3, 0xa6,
    0xc2, 0x14, 0x34, 0x4a, 0xfe, 0x03, 0x7f, 0x06, 0xa5, 0x91, 0x02, 0x54, 0xf1, 0xa1, 0xa1, 0x53, 0xbf, 0x11, 0xf2,
    0x8f, 0x83, 0x67, 0x80, 0x09, 0x08, 0x12, 0x3f, 0xfd, 0x44, 0x91, 0xc2, 0x83, 0x30, 0x50, 0x07, 0x02, 0x82, 0x4d,
    0x31, 0x34, 0x06, 0x41, 0x79, 0x6f, 0xf0, 0xcc, 0x03, 0x79, 0x00, 0x2c, 0x05, 0x24, 0xec, 0x8d, 0x29, 0x15, 0xaf,
    0x44, 0xc8, 0xeb, 0x4f, 0xe1, 0xfd, 0xf1, 0x41, 0x48, 0x81, 0x08, 0xaf, 0xfe, 0x51, 0x48, 0xce, 0xe7, 0xf9, 0xb6,
    0x0a, 0x30, 0x83, 0x11, 0xf0, 0x0c, 0x3b, 0xd2, 0xa6, 0x24, 0x24, 0xef, 0x25, 0xfa, 0x5a, 0x3e, 0x92, 0x3e, 0x79,
    0x0e, 0x35, 0x61, 0xc8, 0xaa, 0x1c, 0x2e, 0x9a, 0x27, 0x7f, 0xff, 0xf0, 0x7d, 0x30, 0x5b, 0xbc, 0x91, 0xff, 0xfe,
    0x43, 0x24, 0x28, 0x66, 0xa7, 0x70, 0x99, 0x28, 0x6e, 0x2b, 0x18, 0x2b, 0xd4, 0xa1, 0x77, 0x3b, 0x96, 0x9f, 0xf7,
    0xeb, 0xbe, 0x1f, 0x04, 0x34, 0x75, 0x84, 0x31, 0x42, 0x4c, 0x65, 0xaa, 0x09, 0x50, 0xa0, 0xc4, 0x51, 0x31, 0xd3,
    0x26, 0x3a, 0x1b, 0xf4, 0x6e, 0x4a, 0x4e, 0x17, 0x25, 0x84, 0x78, 0x7d, 0x2c, 0x3f, 0x46, 0x18, 0xca, 0x5f, 0xf9,
    0xe5, 0x38, 0x2f, 0xd8, 0x71, 0x94, 0x94, 0xe2, 0xcc, 0xa3, 0x15, 0xb0, 0xda, 0xa9, 0xcb, 0x58, 0xe4, 0x18, 0x77,
    0x93, 0x8a, 0x51, 0xc6, 0x23, 0xc4, 0x4e, 0x6d, 0xd9, 0x14, 0x1e, 0x9b, 0x8d, 0xbc, 0xcb, 0x9d, 0xc4, 0x18, 0x05,
    0xf5, 0xa9, 0x29, 0xf8, 0x6d, 0x29, 0x38, 0xc7, 0x44, 0xe5, 0x3a, 0xcd, 0xba, 0x61, 0x98, 0x4a, 0x57, 0x02, 0x96,
    0x42, 0x02, 0xd9, 0x37, 0x11, 0xde, 0x2d, 0xd4, 0x3f, 0xfe, 0x61, 0xe7, 0x33, 0xd7, 0x89, 0x4a, 0xdd, 0xb0, 0x34,
    0x47, 0xf4, 0xdc, 0xad, 0xaa, 0xc9, 0x9d, 0x7e, 0x6d, 0x4b, 0xcc, 0xdc, 0x17, 0x89, 0x57, 0xfd, 0xbb, 0x37, 0x75,
    0x47, 0x5a, 0xec, 0x2c, 0x6e, 0x3c, 0x15, 0x92, 0x54, 0x64, 0x2c, 0xab, 0x9e, 0xab, 0x2b, 0xdd, 0x3c, 0x66, 0xa0,
    0x8f, 0x47, 0x5e, 0x93, 0x1a, 0x37, 0x16, 0xf4, 0x89, 0x23, 0x00,
];

const CB_DATA_ENCODED: [u8; 975] = [
    0x00, 0xb0, 0x33, 0x56, 0xfa, 0x14, 0x1e, 0xff, 0x48, 0x7a, 0x7e, 0x0f, 0x10, 0x1f, 0xf4, 0x91, 0xc8, 0x10, 0x56,
    0x84, 0xff, 0x08, 0xec, 0xb4, 0xac, 0x0e, 0x0f, 0xff, 0xad, 0xc5, 0xe0, 0x1a, 0x2f, 0x82, 0x04, 0x9f, 0x91, 0xc2,
    0x0e, 0xfe, 0x48, 0x36, 0x79, 0x01, 0x42, 0x14, 0xff, 0xfe, 0x30, 0xf0, 0x08, 0x18, 0xf1, 0x81, 0x45, 0x9a, 0x60,
    0xc1, 0x79, 0xf0, 0x14, 0x12, 0x10, 0xce, 0xea, 0x31, 0x5a, 0xff, 0xfc, 0x20, 0x13, 0x82, 0x2f, 0xc9, 0x02, 0x1f,
    0x81, 0xcb, 0x00, 0xe1, 0x10, 0xd2, 0xb4, 0xbe, 0x87, 0xff, 0xb0, 0x1e, 0x27, 0x81, 0xb7, 0x04, 0x06, 0x3c, 0xc2,
    0x04, 0xf6, 0x06, 0x0e, 0x28, 0xbc, 0x40, 0xbf, 0x12, 0x1e, 0x86, 0xd4, 0x6a, 0x7f, 0x18, 0x1b, 0x96, 0x85, 0x4c,
    0x16, 0x80, 0xdf, 0x2c, 0xa5, 0x8d, 0x86, 0xa3, 0x4a, 0x8a, 0xb4, 0x1b, 0xa1, 0x38, 0xa9, 0xd5, 0xff, 0xff, 0xea,
    0x06, 0x20, 0xd2, 0x95, 0x1e, 0xf4, 0x2f, 0xb2, 0x12, 0x0e, 0x61, 0x78, 0x4a, 0x17, 0x52, 0x5d, 0xe4, 0x25, 0x1f,
    0xfe, 0xc0, 0xb3, 0x1f, 0xff, 0xff, 0xec, 0x02, 0x82, 0x80, 0x90, 0x41, 0x88, 0xde, 0x48, 0x2c, 0x42, 0x52, 0x0b,
    0x2f, 0x43, 0x7e, 0x50, 0x78, 0xf2, 0x67, 0x78, 0x41, 0x34, 0x3d, 0xc8, 0x0f, 0x67, 0xa1, 0xeb, 0x21, 0xfe, 0xc0,
    0x1f, 0x22, 0x60, 0x41, 0x6c, 0x00, 0x92, 0x4b, 0x60, 0x10, 0xd0, 0x0d, 0x01, 0x35, 0x05, 0x0e, 0x87, 0xa2, 0xa0,
    0x5d, 0x1f, 0xa3, 0xaf, 0x7f, 0xf1, 0xbe, 0x8f, 0xcd, 0xa5, 0x00, 0x1c, 0x10, 0x40, 0x15, 0x76, 0x81, 0x05, 0xef,
    0xee, 0x00, 0x60, 0x84, 0x00, 0x99, 0x40, 0x4a, 0x82, 0x17, 0xe9, 0xfc, 0xc4, 0x7f, 0xff, 0xfd, 0x04, 0x80, 0x06,
    0x06, 0xdc, 0xaf, 0xa7, 0x7e, 0x94, 0x75, 0x74, 0x01, 0x00, 0xe0, 0x91, 0x00, 0x85, 0x7f, 0x8e, 0xd6, 0x0b, 0x20,
    0x21, 0x30, 0xca, 0x62, 0x8e, 0x07, 0x04, 0xe9, 0x45, 0x40, 0x5f, 0x47, 0x4a, 0x30, 0x15, 0x41, 0xcb, 0xdf, 0xff,
    0xfc, 0xbf, 0xc3, 0xb4, 0x46, 0x6a, 0x01, 0x40, 0xd0, 0xa7, 0x34, 0x18, 0x24, 0x1c, 0x2a, 0x45, 0xfe, 0xa8, 0x05,
    0x08, 0x61, 0xfd, 0xa8, 0x80, 0x71, 0x01, 0x25, 0x9c, 0xc1, 0x47, 0x17, 0x37, 0x02, 0x7a, 0x15, 0xff, 0xf3, 0x01,
    0x45, 0x7f, 0xd6, 0x80, 0x60, 0x83, 0x67, 0xf8, 0x9d, 0x2f, 0xf4, 0xdd, 0x8c, 0x30, 0x01, 0x51, 0x42, 0xbc, 0x43,
    0x7a, 0x6b, 0x9f, 0x84, 0x1e, 0x00, 0x48, 0xc1, 0xe0, 0xb7, 0xe0, 0x7e, 0x99, 0xf2, 0x4a, 0xe9, 0x40, 0x02, 0x81,
    0xc3, 0x00, 0x24, 0x3a, 0xc5, 0x52, 0x0f, 0x91, 0xc8, 0x68, 0x25, 0x40, 0x99, 0xa4, 0x25, 0x1a, 0x04, 0xd0, 0xa2,
    0x91, 0xdd, 0xeb, 0x93, 0x00, 0x21, 0x49, 0x24, 0x8b, 0x40, 0x75, 0x38, 0x14, 0xa1, 0xfd, 0x3f, 0x88, 0x25, 0xbf,
    0x32, 0x00, 0xe3, 0x19, 0xfc, 0xb9, 0xf8, 0x6f, 0x81, 0xc0, 0x01, 0xb3, 0x93, 0x20, 0x09, 0x08, 0x25, 0x84, 0xe1,
    0x34, 0xd4, 0x1b, 0x48, 0x88, 0x11, 0xa0, 0x15, 0x59, 0xd7, 0x07, 0x81, 0x81, 0x3b, 0xa1, 0x40, 0x2e, 0x2f, 0x48,
    0x70, 0x09, 0xc4, 0x76, 0x49, 0x0f, 0x2e, 0x50, 0x2e, 0x46, 0x19, 0xa4, 0x16, 0xa2, 0x1b, 0x84, 0xa2, 0x89, 0x58,
    0xfc, 0x4f, 0x3f, 0x40, 0x90, 0x4c, 0xa3, 0x01, 0x32, 0x09, 0x02, 0x80, 0x9c, 0x91, 0x13, 0x2c, 0xba, 0xde, 0x5d,
    0x99, 0xf2, 0xff, 0xff, 0x3d, 0x5a, 0x1f, 0xa9, 0x02, 0x90, 0x8f, 0xf3, 0x08, 0xbd, 0x01, 0xf8, 0xd0, 0x2a, 0x95,
    0x41, 0x0c, 0x40, 0x0a, 0x20, 0xc4, 0xd4, 0xcc, 0x6b, 0x0f, 0xf0, 0x80, 0xb1, 0x5d, 0x28, 0x3d, 0x08, 0xc2, 0xf8,
    0x31, 0x02, 0x49, 0x88, 0x14, 0x28, 0xed, 0xe8, 0x86, 0x3b, 0x00, 0x9f, 0x95, 0x06, 0x37, 0x15, 0xa4, 0x59, 0xc8,
    0x80, 0xb6, 0x10, 0xf0, 0xe5, 0xb8, 0x18, 0x00, 0x56, 0x1c, 0xff, 0x95, 0x21, 0x0e, 0x7f, 0x2b, 0xc5, 0x08, 0x59,
    0x10, 0xe1, 0x46, 0x31, 0x8d, 0xec, 0xe0, 0xa1, 0x99, 0xbb, 0x21, 0xff, 0xfe, 0x30, 0x10, 0xd0, 0x05, 0xe3, 0x08,
    0x50, 0xfc, 0xf3, 0x0e, 0x00, 0x8d, 0x68, 0x8e, 0x07, 0xa6, 0x80, 0x34, 0x42, 0xed, 0x1f, 0x88, 0x00, 0xf0, 0x8a,
    0x21, 0xae, 0xf7, 0xfb, 0x80, 0x28, 0x86, 0x0f, 0xff, 0xff, 0x82, 0xea, 0x47, 0x95, 0x91, 0xe0, 0x04, 0x01, 0x44,
    0x0c, 0x29, 0xff, 0x0e, 0x33, 0xe8, 0xc0, 0x54, 0x04, 0x23, 0xfc, 0x81, 0x5b, 0xf0, 0x3c, 0x07, 0x10, 0x70, 0x30,
    0xd8, 0x21, 0x6f, 0xef, 0xde, 0x46, 0x09, 0x43, 0xfa, 0x5f, 0xff, 0x0d, 0x72, 0x30, 0xdd, 0x00, 0xdb, 0xe4, 0x48,
    0x24, 0x97, 0x08, 0x46, 0xb1, 0x49, 0xc4, 0x4d, 0x80, 0x12, 0x60, 0xff, 0xa4, 0xa6, 0xff, 0xf6, 0x8c, 0x00, 0x40,
    0x05, 0x02, 0xb4, 0x0f, 0xf0, 0x3e, 0xfc, 0x84, 0x38, 0x81, 0x94, 0x8b, 0xfe, 0x49, 0xef, 0xc0, 0x10, 0x49, 0x88,
    0x28, 0xa2, 0x1c, 0x2a, 0x8b, 0x64, 0xd4, 0x86, 0xd7, 0xff, 0xff, 0xff, 0xeb, 0x91, 0x6b, 0x11, 0x10, 0x00, 0x69,
    0x4c, 0xbf, 0xb4, 0x1c, 0xd8, 0x00, 0x07, 0x16, 0x80, 0x60, 0x0a, 0x1c, 0x82, 0x42, 0x27, 0x82, 0x43, 0xc9, 0x0a,
    0x64, 0x20, 0x5a, 0x5f, 0x4e, 0xbf, 0x8c, 0x38, 0x82, 0x36, 0x02, 0x07, 0x72, 0x79, 0x07, 0x23, 0xb4, 0xbb, 0x57,
    0x5f, 0xe8, 0x04, 0xdd, 0x39, 0xe9, 0x07, 0x95, 0xbe, 0x04, 0x2b, 0xdd, 0x8e, 0x22, 0xdc, 0x14, 0x2c, 0x61, 0xa3,
    0xa9, 0xcd, 0x4f, 0x82, 0x5d, 0xa0, 0x44, 0xdf, 0xf4, 0x96, 0xff, 0xf5, 0x2b, 0xff, 0xfe, 0x01, 0x19, 0xd2, 0xa2,
    0x9e, 0x43, 0xa5, 0x7f, 0xf0, 0x4c, 0x4c, 0x2b, 0x3c, 0x33, 0xe2, 0x55, 0xff, 0x04, 0x06, 0x29, 0x2c, 0x0d, 0x22,
    0x5d, 0x7c, 0x93, 0xba, 0x18, 0xaf, 0xf9, 0x32, 0xa6, 0xc3, 0x99, 0x46, 0x79, 0xe3, 0x06, 0xa6, 0x38, 0x8b, 0x92,
    0x22, 0x4b, 0xdb, 0x1b, 0x36, 0x20, 0xb0, 0x6c, 0x20, 0xce, 0x37, 0x42, 0xe1, 0x66, 0xd4, 0x49, 0x34, 0x42, 0x8b,
    0xfa, 0x9c, 0x12, 0x99, 0xdc, 0x06, 0x87, 0xfa, 0x46, 0xf8, 0x2f, 0x04, 0xa9, 0xd8, 0x82, 0x07, 0xa6, 0x30, 0x0f,
    0xc0, 0xdf, 0x35, 0xe8, 0x90, 0xf0, 0xff, 0xff, 0xa8, 0xe0, 0xd7, 0x02, 0x60, 0x1a, 0xc3, 0x20, 0x28, 0xa2, 0x31,
    0x29, 0x3c, 0xeb, 0x04, 0xa5, 0xdd, 0x48, 0x0e, 0x82, 0xa4, 0xb6, 0x56, 0x22, 0x06, 0x57, 0xe0, 0xda, 0x10, 0x27,
    0x31, 0x0e, 0x11, 0x77, 0xfe, 0x02, 0x60, 0x16, 0x48, 0x81, 0x8c, 0x0d, 0x05, 0x17, 0x7f, 0xcb, 0xbb, 0x7e, 0x25,
    0x2a, 0x41, 0xfd, 0x8a, 0x7f, 0xc9, 0x36, 0x7c, 0xe0, 0x98, 0x7e, 0x92, 0xef, 0x7e, 0x06, 0x03, 0x13, 0x3e, 0x20,
    0x3a, 0xbf, 0x4c, 0xc3, 0x0f, 0x2e, 0x80, 0x74, 0xbf, 0x39, 0x3c, 0xf0, 0xa6, 0xb2, 0xe9, 0x3f, 0x41, 0x55, 0x1f,
    0x2c, 0xf5, 0xd2, 0x7e, 0x8c, 0xae, 0x4e, 0xaa, 0x61, 0x3c, 0xbc, 0x3f, 0xc4, 0xc7, 0x36, 0xdc, 0x23, 0xc8, 0xb8,
    0x52, 0xe2, 0x8a, 0x80, /*0x18?*/ 0x00, 0x00,
];
const CR_DATA_ENCODED: [u8; 915] = [
    0x00, 0xb2, 0x46, 0xa2, 0x56, 0x0d, 0x12, 0x94, 0xaa, 0xbd, 0x01, 0x07, 0xff, 0xfa, 0x34, 0x0c, 0x5f, 0xf8, 0x0c,
    0x12, 0x50, 0xaf, 0xd6, 0xd1, 0x89, 0x40, 0xa4, 0xff, 0xe0, 0xce, 0xc4, 0x49, 0x25, 0x9d, 0xc1, 0xff, 0x7e, 0x60,
    0x24, 0x5d, 0xcc, 0x10, 0xc0, 0xbe, 0x5a, 0x12, 0xd3, 0xc3, 0xfe, 0x2d, 0x40, 0x7c, 0x28, 0x9e, 0x71, 0x01, 0xd2,
    0x6e, 0x86, 0x0b, 0xc8, 0xf2, 0x9b, 0x45, 0x08, 0x4c, 0x04, 0x52, 0x7e, 0xf2, 0x7e, 0xd9, 0xcc, 0x0b, 0x1c, 0x20,
    0x80, 0xae, 0xaf, 0xfe, 0xb0, 0x6d, 0x23, 0xf2, 0x41, 0xe3, 0x2e, 0x20, 0x11, 0x4b, 0x74, 0x89, 0xdd, 0xff, 0xa8,
    0x38, 0xa3, 0x95, 0x82, 0x15, 0xf0, 0xd0, 0xd5, 0xf1, 0x92, 0x8e, 0xee, 0xc0, 0x26, 0x81, 0xe9, 0x47, 0xff, 0xee,
    0x0d, 0x20, 0x34, 0x31, 0x3a, 0xef, 0x40, 0xb2, 0x29, 0x47, 0x19, 0x7f, 0x04, 0x27, 0xf1, 0x90, 0x85, 0x09, 0x86,
    0x7d, 0x42, 0xe2, 0x54, 0x5d, 0x5f, 0xe8, 0x0e, 0xd0, 0x2c, 0xaa, 0x16, 0xbf, 0x04, 0xa7, 0xf8, 0xa2, 0x46, 0x0b,
    0x08, 0x7a, 0x79, 0xe9, 0x28, 0x62, 0x7c, 0x33, 0xf4, 0x0b, 0x14, 0x82, 0xfa, 0x61, 0xeb, 0xc1, 0xff, 0x4c, 0xa4,
    0x11, 0x7f, 0x03, 0x68, 0x44, 0xc1, 0x1f, 0x81, 0x3a, 0x6c, 0x77, 0x95, 0x02, 0x2b, 0x53, 0x80, 0xe5, 0x10, 0x1e,
    0x90, 0xe8, 0xfd, 0x1f, 0xa6, 0x40, 0x0b, 0x13, 0xff, 0x4e, 0x4d, 0x7f, 0x52, 0xe8, 0xaf, 0x9a, 0xc1, 0x80, 0x0f,
    0x0a, 0x14, 0x02, 0x3c, 0xc0, 0x09, 0x13, 0xe7, 0xdc, 0xc0, 0x1a, 0x28, 0xa0, 0xe4, 0x83, 0x8e, 0x03, 0x88, 0xd5,
    0xaf, 0x1a, 0xbd, 0x91, 0x00, 0xb7, 0x4e, 0xba, 0xdf, 0xf8, 0xdb, 0xcc, 0x02, 0x43, 0xc4, 0x14, 0x2a, 0x3f, 0xc8,
    0x0d, 0x09, 0x1c, 0x44, 0xf4, 0x01, 0x3c, 0xca, 0x28, 0x56, 0x80, 0xa6, 0x85, 0x00, 0xea, 0x3e, 0x8f, 0xeb, 0x9f,
    0xfc, 0x6e, 0x07, 0xc4, 0xe0, 0x30, 0x78, 0xa0, 0x1e, 0x6f, 0x54, 0x78, 0x51, 0xff, 0x56, 0x4a, 0x01, 0x47, 0x02,
    0x4c, 0x21, 0x3b, 0xfb, 0x90, 0x0a, 0xcc, 0x1d, 0xd2, 0x47, 0xff, 0xfc, 0x70, 0x18, 0x22, 0xc0, 0xb9, 0x2f, 0xe9,
    0x7f, 0x91, 0xd3, 0x66, 0x2f, 0x80, 0x2c, 0x24, 0xa7, 0xfa, 0x84, 0x51, 0xab, 0x6b, 0x72, 0x00, 0xab, 0x33, 0x04,
    0xcf, 0x43, 0xff, 0x17, 0x51, 0x84, 0x0c, 0x01, 0x50, 0x10, 0x8f, 0x90, 0x34, 0x41, 0x44, 0x84, 0x8e, 0x08, 0x19,
    0x04, 0x48, 0x50, 0x84, 0x38, 0x3d, 0x02, 0x52, 0xf9, 0x7c, 0xd2, 0xd0, 0x1f, 0x13, 0x42, 0xa0, 0x21, 0x41, 0xc4,
    0x02, 0x02, 0x3d, 0x09, 0xc8, 0xfd, 0x60, 0x7d, 0x35, 0x4f, 0x7f, 0xff, 0xf9, 0x97, 0x6a, 0xd8, 0x00, 0xc3, 0x83,
    0x00, 0x09, 0x50, 0x4b, 0x90, 0x8a, 0xc7, 0x94, 0x4d, 0x47, 0xc1, 0x62, 0x32, 0x28, 0x24, 0x09, 0x52, 0x2e, 0x2e,
    0x1c, 0x96, 0x44, 0xa0, 0x09, 0xc8, 0xce, 0x64, 0xa9, 0x1c, 0x19, 0x0e, 0x52, 0x3e, 0x3e, 0x19, 0x93, 0xa0, 0x36,
    0x26, 0x22, 0x08, 0x9a, 0x00, 0xdd, 0x66, 0x3a, 0x93, 0xd5, 0x89, 0xd1, 0x40, 0x06, 0xd4, 0xa8, 0x22, 0x73, 0x7b,
    0x3d, 0x3f, 0xe3, 0x04, 0x94, 0xff, 0xff, 0xff, 0xff, 0x0c, 0x56, 0x77, 0xac, 0xe0, 0xc4, 0x06, 0x1f, 0xb8, 0xa5,
    0x80, 0xfd, 0x68, 0x1c, 0x32, 0x16, 0x03, 0xde, 0x71, 0x2a, 0x3d, 0x14, 0x19, 0xbe, 0xc2, 0x88, 0xd9, 0x24, 0x92,
    0x5f, 0xc5, 0x90, 0x0a, 0x85, 0xc2, 0x3f, 0x87, 0x03, 0xa8, 0x26, 0x17, 0xc4, 0x06, 0x86, 0x12, 0x87, 0x76, 0x0a,
    0x48, 0x16, 0xed, 0x96, 0x93, 0xec, 0x1b, 0x30, 0x73, 0xe8, 0x1a, 0x3f, 0xff, 0x4d, 0xce, 0x40, 0xf3, 0x0c, 0x51,
    0x4b, 0x84, 0x9e, 0x67, 0x2b, 0x15, 0x40, 0x1a, 0xa0, 0xfc, 0x10, 0x0f, 0xd8, 0x81, 0x35, 0x87, 0xff, 0x98, 0x0f,
    0x40, 0x00, 0xba, 0xc0, 0x71, 0xe2, 0x00, 0x18, 0x28, 0xb3, 0x82, 0xcc, 0x80, 0x6a, 0xa0, 0x43, 0xff, 0x2d, 0xd6,
    0x04, 0x8a, 0x68, 0xff, 0xff, 0xff, 0xfc, 0x1a, 0xf3, 0x1a, 0x2a, 0x06, 0xc0, 0x01, 0x40, 0x0c, 0x30, 0xc1, 0xd0,
    0xd7, 0x4f, 0xcb, 0x74, 0x1f, 0x07, 0xd3, 0xb4, 0x0d, 0x88, 0x98, 0xea, 0xda, 0x9f, 0xce, 0x2b, 0x3c, 0x55, 0xb3,
    0x40, 0x14, 0xff, 0xff, 0xff, 0xea, 0xdb, 0x9b, 0x92, 0xd8, 0x68, 0x08, 0x0b, 0x41, 0x09, 0x26, 0x40, 0x8c, 0xf1,
    0xb0, 0x9a, 0x98, 0xc0, 0x80, 0x8b, 0xf0, 0x3d, 0xe7, 0xec, 0x19, 0x68, 0x21, 0x03, 0x29, 0x7f, 0xe1, 0x6d, 0x4c,
    0x0f, 0x01, 0xd1, 0x51, 0x01, 0x1a, 0x50, 0x2a, 0x59, 0x27, 0x80, 0xc1, 0x6e, 0x33, 0xf1, 0x80, 0xe1, 0x49, 0x08,
    0xe9, 0x17, 0xff, 0xff, 0xff, 0x80, 0x5a, 0x10, 0x10, 0x36, 0x5e, 0xca, 0xf8, 0x3a, 0x00, 0x1e, 0xb0, 0x06, 0x84,
    0x01, 0xf3, 0x07, 0x1b, 0x4a, 0xc0, 0x1e, 0x21, 0x43, 0x8e, 0xa5, 0x55, 0x77, 0xc7, 0x65, 0x7c, 0xc2, 0xdf, 0x5e,
    0x0c, 0x42, 0x20, 0xd2, 0x48, 0x61, 0xc8, 0x1c, 0x65, 0xf8, 0xfe, 0x4c, 0x88, 0x71, 0x1f, 0x82, 0x50, 0x81, 0xa3,
    0x54, 0x09, 0x13, 0x28, 0x52, 0xf5, 0xe0, 0x82, 0xc3, 0x06, 0x7f, 0xfa, 0x2c, 0xcf, 0xf8, 0xf4, 0x7f, 0xff, 0xfd,
    0x01, 0x49, 0xa4, 0xb8, 0xde, 0x62, 0x84, 0xfe, 0xed, 0x65, 0x1f, 0x3c, 0x3c, 0xb2, 0x50, 0x76, 0x30, 0x5b, 0x03,
    0xc0, 0x08, 0xa6, 0x64, 0x90, 0xc8, 0xcd, 0x14, 0x6e, 0x69, 0x46, 0x7a, 0xc6, 0x1c, 0x87, 0xd7, 0x48, 0x7b, 0x49,
    0x05, 0x2d, 0x5e, 0x7f, 0xcb, 0x67, 0xf0, 0xd9, 0x0d, 0x1e, 0x9e, 0x53, 0xb7, 0x64, 0xa5, 0xa5, 0x10, 0x39, 0x06,
    0x11, 0x3f, 0xb1, 0xa9, 0xa6, 0xe8, 0x4d, 0x47, 0x77, 0xda, 0x43, 0x76, 0x89, 0x45, 0x09, 0x70, 0xc2, 0x38, 0x0f,
    0x09, 0x6f, 0xe7, 0x2d, 0x82, 0x35, 0x07, 0xfe, 0x64, 0x18, 0x2e, 0xb8, 0x04, 0x42, 0x54, 0x80, 0x43, 0x12, 0x6c,
    0x9a, 0x55, 0xc9, 0x0a, 0xa0, 0x79, 0x47, 0x52, 0x65, 0x2a, 0xff, 0x50, 0x11, 0xc9, 0x4e, 0xfe, 0x5b, 0x30, 0xa4,
    0xe8, 0x30, 0x63, 0xff, 0x21, 0x12, 0x1b, 0xdc, 0x1c, 0x01, 0x41, 0x51, 0x1f, 0xff, 0xfa, 0xc3, 0xe3, 0x55, 0xf1,
    0x66, 0xe2, 0xd5, 0x78, 0x5e, 0xfa, 0x4d, 0xf2, 0x61, 0x01, 0x26, 0x15, 0xa9, 0xf9, 0xd9, 0x32, 0x41, 0x90, 0x36,
    0x4e, 0xae, 0xe3, 0x0b, 0x16, 0x56, 0x8c, 0x6e, 0x42, 0x5d, 0xd8, 0x1e, 0xfe, 0x1d, 0x40, 0x3a, 0x50, 0x9f, 0x09,
    0x14, 0xeb, 0x6e, 0x48, 0x7a, 0x91, 0x88, 0x7b, 0x7d, 0x8f, 0x72, 0x42, 0x39, 0xb0, 0x1c, 0x65, 0x18, 0x23, 0x8b,
    0x60, /*0x30?*/ 0x00, 0x00,
];

const Y_DATA_DECODED: [i16; 4096] = [
    0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2,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, 2, 4, 4, 3, 5, 0, 0, -1, 4, -8, -11, 0, 0, -2,
    8, -1, 0, 3, 1, -18, 16, 1, -1, 2, 0, -4, -4, 0, 0, -6, 1, -3, -1, 1, 14, -23, 1, 0, 1, 0, 1, -3, -1, 0, 0, 0, -5,
    -2, 3, -1, 11, -8, -3, 0, 1, 0, -1, -3, 1, 0, 14, 1, 0, -1, 0, 0, -15, -2, 7, 1, -1, 1, -3, -1, -1, -2, -14, 0, 1,
    0, 0, 5, -18, 14, -7, -1, -1, -2, 13, 1, -1, 3, -14, 1, -2, 2, -1, 11, -16, -2, 2, -1, 1, 0, -9, 0, -1, 19, 1, 1,
    1, 0, 2, 2, 8, 0, 0, 0, 0, 1, -13, 0, 0, -6, -3, -1, 0, -2, -2, 6, 13, 0, 0, 0, 1, 9, 1, 0, 0, -1, 2, 0, 0, 1, 0,
    -5, 0, 0, -1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, -4, 1, 4, 4, -2, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,
    -4, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -1, 1, 1, -1, -3, 0, -2, -3, 0, 0, 0, 0, 0,
    0, 0, -2, -2, 0, 1, -1, 2, 0, 0, 0, 1, -1, 1, 0, 1, -8, -1, 0, 0, 1, -3, 0, 0, -1, 3, 0, 0, 1, -3, -3, -3, 3, -4,
    0, 0, 0, 1, 0, 0, 3, -3, 3, -1, 1, 1, 0, 1, -5, 20, 0, 0, 0, -1, 2, 7, -1, 0, 3, -2, 1, 0, 4, -1, 0, 1, 0, 1, -3,
    2, -9, -12, -19, 10, -1, 2, 0, -1, 1, 9, -13, 0, 0, 1, -4, -13, 0, 0, 16, -7, 0, 16, -3, 1, -2, -1, 2, -1, 0, 0, 0,
    1, 1, 0, 0, 4, -3, -17, -14, 2, -4, -14, -1, 0, -1, 1, 0, -1, 0, 1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, 0, 1,
    1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -2, -2, 1, 0, -1, -2, 0, -1, 8, 6, 3,
    0, -1, -6, 0, 4, 5, -13, -53, -3, -2, 0, -2, -15, -7, 25, 8, 3, 7, -25, 26, -12, 5, 20, 6, 7, -5, -13, 2, -2, 5,
    -54, 10, -2, 30, 3, -46, 11, -9, -1, -2, 1, -18, -2, 8, -3, 3, -5, -4, -1, -5, -2, -3, 0, 1, -10, -3, 1, -1, 1, -5,
    -1, -3, 3, 7, -14, -13, 10, 0, -1, 11, 2, 5, 2, 12, 0, -8, 24, -21, -49, -4, 10, 9, 31, -1, 5, 10, 1, 13, -57, -52,
    9, 12, -6, -18, 5, 1, -3, -4, -1, 13, 21, 8, 11, 3, 7, 7, -2, -3, -1, 0, 2, -14, -19, -7, 1, -1, -1, -3, -2, 0, 0,
    -1, -1, -1, -7, 3, 4, 7, -1, -6, -14, -1, -7, 3, -12, -16, -2, 2, -1, -9, 1, 7, -21, 25, -4, -2, -23, 2, 2, 3, -4,
    22, -4, 5, -4, -2, -2, 4, -7, 0, 0, 3, 2, 17, -6, 7, 5, 3, 1, -5, 0, 1, 0, 0, 6, 1, -4, 2, 0, -1, 1, -1, -14, 3, 0,
    -7, -4, 50, -13, -11, 34, -26, -23, -3, -1, 45, -4, 21, 57, -17, -43, -17, -15, 27, -7, 25, 30, -23, 65, -13, -88,
    45, -103, 85, 71, -116, 88, -30, -57, 57, -101, 94, 25, 17, 5, 6, -107, 15, -31, 20, -26, 142, -18, -23, -95, 69,
    -7, -13, -9, 5, 18, -38, -18,
];

const CB_DATA_DECODED: [i16; 4096] = [
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0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-1, 0, 0, 2, 0, -1, -2, 1, 1, -2, 0,
    0, 0, 0, 0, 0, 1, 1, -2, -8, -1, 1, 0, -1, -5, 9, 2, 0, 0, -1, 2, 0, 0, 0, 1, -17, 0, 0, -1, -1, -18, 20, -1, 1, 0,
    5, -8, 8, 0, 0, 17, 1, 0, 0, 2, 3, -6, -10, 3, -1, 1, 0, 3, 32, 0, -1, 5, 5, -1, 0, 5, 4, 14, -16, 1, 0, 0, -1,
    -17, 2, 0, -1, -17, -3, -2, 1, -1, -9, 15, -1, 0, 1, -1, -1, -8, -4, 0, 1, 0, 3, 1, -1, 1, -6, 3, 2, 0, 2, -1, 2,
    11, 0, 0, -3, 0, 1, 1, 0, 0, 7, 1, -3, 0, -1, -4, 0, 4, 0, 0, 3, 0, 0, 0, 0, -2, 10, -7, 4, 0, -1, 3, -24, -2, 0,
    -1, 4, 0, 2, -1, 0, -5, 10, 2, -1, -3, 4, -1, 11, -1, 0, -4, 1, 0, -1, 0, 0, -2, -6, 0, 0, 1, -2, 0, 24, 0, 0, 1,
    2, 1, 0, 0, 0, -1, -17, 0, 0, 0, -1, -26, 0, 0, 0, 0, -1, 0, 0, 0, 0, 22, -2, -1, 0, 0, 2, -7, -3, 0, 0, 0, 0, 0,
    0, 0, 0, -1, 2, 1, -1, -2, -4, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 10,
    6, -2, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 2, -3, -19, -9, -13, -13, 14, -2, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, -1, 0, 0, 0,
    -2, 14, 2, -2, -2, 6, 8, 0, 0, 1, -2, 0, 0, 0, 1, 0, 1, 0, -17, -6, 1, -8, -9, 0, 0, 1, -1, 0, 1, 1, -1, 0, 0, 0,
    -2, -1, 0, 0, -2, 0, 0, 1, 1, -1, -8, 0, 3, -1, 0, 1, 1, 3, 1, 0, 0, 0, 1, -7, 13, 13, 12, 14, -7, 0, 0, 0, -1, 1,
    9, -7, 2, 0, 0, -1, 2, 0, 0, -8, 4, 0, -9, 2, 2, 0, 1, -12, 3, 0, 0, 0, 0, 0, 0, 0, -2, 1, 9, 10, -4, 2, 35, 4, 0,
    0, 0, 0, 1, 0, 0, -1, 1, 0, -1, -10, -8, -21, -13, 3, 0, -1, 1, -1, 0, 1, -1, 0, 1, 0, 1, 1, -5, 14, 14, -2, 0, 0,
    0, 2, 3, 2, 0, 1, 1, 0, 1, 0, 0, 1, 1, -1, 0, 0, -3, -1, 0, 0, -2, 2, 0, -1, -1, 0, 0, -1, 1, 0, 0, 0, -1, 0, 0, 0,
    0, 2, -12, -4, 1, 1, 2, -20, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 19, 16, 15, 24, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 6, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, -1, 0, 0, -1, 3, -2, 0, 0, 0,
    0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 3, 0, 0, -1, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 2, 2, -1, 1, -1, 3, 4, 0,
    0, 1, 2, 0, 0, 0, 1, 2, -1, 0, 0, 0, 0, 1, 0, 0, 0, -2, -1, -1, 0, 0, 1, 1, 0, 0, 0, 0, 0, -1, 0, 0, 1, -2, 0, 0,
    0, 2, -2, 0, 0, 0, -1, 1, -1, 4, 0, 0, 0, 0, 0, 0, 0, -2, 0, -1, 0, -1, -1, 1, -1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    -1, 0, 0, -1, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, -2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, -2,
    0, -2, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 2, -3, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, -9, -1, -2, 5, 1, 1, 0, 1, 33, -2, -2, 5, 1, 2, -3, -4, -14, -3, 2, 76, 4, 5, 17,
    3, -37, 1, -15, -8, 3, -1, 80, -5, 14, -2, -11, 2, 7, -16, 15, -2, 3, -2, 29, -2, 1, -51, -8, 6, -4, 3, 4, 6, 4,
    35, -1, -1, 1, -2, 8, -3, -7, 17, 1, 1, -4, 35, -4, 34, -5, 2, -1, 3, 0, 0, 2, 3, -17, 46, 10, -2, 4, -9, -5, -2,
    3, 4, 0, 1, 4, 28, 33, 2, -3, 14, -6, -1, 0, -4, -1, -7, 38, 60, -5, -3, 2, 6, 1, 4, 4, -3, 1, -1, -3, -2, -7, -28,
    -5, -31, 8, 2, 0, 0, -8, 56, 85, 24, -3, 0, -10, 3, -4, 4, 2, 1, 0, 1, 4, 2, 4, 15, 10, 6, -9, -1, -1, -4, 1, 5, 2,
    0, 4, 1, 13, -3, 10, -11, -4, 2, 7, -1, 0, -2, 1, -14, -3, 2, 2, 0, -1, -1, 3, 0, -5, -9, -4, -2, 2, -5, -28, 1, 7,
    17, 1, 0, 0, 0, -18, 5, 15, -6, 0, 55, -4, 34, -14, 18, -33, 7, -1, -16, 19, -109, -29, 19, 123, 10, -6, -31, 13,
    -129, 32, 31, -43, 7, 9, 83, -29, -34, 15, 32, -44, -12, -18, 79, 31, -21, -40, 58, -51, -33, 63, -8, 35, -31, -13,
    -10, -20, -44, 102, -11, 9, 2, 17, -136, 4, -58, 208, -49, 6, 4, 11, -83, -38, 84, 54,
];

const CR_DATA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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, -1, 1, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, -4,
    0, 1, 2, 0, -2, 3, 0, 0, 0, 0, 0, 0, -1, -1, 3, 13, -2, 1, -2, 2, 7, -15, -1, 0, 0, 1, -1, 0, 0, 0, -3, 25, 2, -1,
    0, 0, 20, -7, 1, -1, 0, -2, 6, -3, 0, 0, -20, 0, -1, -1, -2, -4, 5, 5, -1, 0, -1, 1, -3, -17, 0, 1, -5, -7, 2, 0,
    -3, -3, -13, 12, 0, 0, 1, 0, 7, -2, 0, 1, 28, 0, 1, -1, 2, 10, -16, 1, 0, 1, -1, 0, 3, 1, 0, -1, 0, -3, -2, 2, 0,
    7, -5, -2, 0, 0, 0, -1, -6, 0, 0, -2, 1, -3, -1, -1, 0, -10, -2, 4, 0, 0, 1, -1, -2, 0, 0, 3, -1, 0, 0, 1, 3, -12,
    9, -5, 0, 0, -2, 16, 1, 0, -1, 2, 0, -4, 2, 0, 7, -11, -2, 1, 0, -1, 0, -7, 0, 0, -3, -1, 0, 1, -1, 0, 2, 6, 0, 0,
    0, 0, 0, -16, 0, 0, 1, -1, -1, -1, 1, 0, 1, 12, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, -14, 1, 0, 0, 0, -2, 4,
    2, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, -1, 3, 1, 3, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -1, 0, 0, 0, 0, 0, 0,
    0, 0, 2, 0, -13, -8, 3, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, -3, 3, 27, 12, 19, 20, -21, 3, 0, 0, 0, 0, 0, -1, -1, 0,
    -1, 0, -1, 0, 0, 0, 0, -5, -1, 1, 1, -3, -4, 0, 0, -1, 5, -1, 0, 0, -2, 0, -1, -2, 7, 2, 0, 5, 3, 0, 0, -1, 0, -1,
    0, -2, 1, -1, -1, 1, 1, -1, 0, -2, 7, 0, 0, -1, -1, 3, 5, 1, -2, 2, -1, 0, 0, 1, 0, 0, 0, 0, -1, 11, -17, -14, -10,
    -14, 7, -1, 1, 0, 0, 0, 2, -3, 0, 0, 0, 3, 2, 0, 0, 9, -5, 0, 11, -2, -1, -1, -2, 5, -1, 0, 0, 0, 0, 1, 0, 0, 3,
    -2, -11, -10, 2, -2, -18, -3, 0, 0, 0, -1, -2, 0, 0, 0, -2, 1, 2, 11, 9, 12, 9, -2, 0, 0, 0, 1, -1, -3, 2, 0, -1,
    0, 0, 0, 1, -3, -3, 0, 0, 0, -1, 1, 2, 1, -4, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -4, -2, -1, -1, 0, 3, 1, 0, 0, 0,
    0, 0, -1, 0, 0, -1, 1, 0, 0, 0, 0, 0, 4, 3, 0, -1, 0, 14, -3, 0, 0, -1, 0, 0, 0, 0, 0, 0, 2, -11, -11, -9, -15, -2,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    -6, 1, 0, -1, 2, -4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1, 0, 0, 0, -1, 0, 0, 0, -1, -1, 0, 0, 0,
    0, 0, -1, -1, 0, 0, 0, -1, -2, 0, 0, -2, -2, 0, 0, 0, -1, -2, 1, 0, 0, 0, 0, -2, -3, 0, 0, 3, 1, 1, 0, 0, -1, -1,
    0, 0, 0, 0, 0, 0, 0, 0, -1, 3, 0, 1, -1, -2, 2, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, -1, 2, 1, 2, -1, 0, 0, 0,
    -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, -4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 1, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1,
    0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, -1, -4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -1,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 13, 4, 5, -8, -2, 0, 1, -1, -43, -7, -3, -4, 1, -1,
    1, 5, 22, -1, -1, -54, -2, -2, -4, -4, 52, -5, 17, 7, 1, -3, -33, -4, -25, 1, 15, 3, 2, 2, -11, 4, -14, 5, -34, 6,
    -1, 35, 6, 11, 4, -2, -5, -4, -7, -21, 1, -2, 0, 1, -6, 1, 3, -11, 0, -2, 6, -45, 14, -45, 4, -1, 1, -3, 1, 1, -7,
    -7, 5, -19, -4, 2, -4, 8, 4, -1, 3, 0, 0, 2, -15, -27, -36, -2, 5, -1, 14, 2, -5, 7, 0, 8, -39, -41, 6, 1, 4, -12,
    -6, 0, -2, -2, -1, -4, -5, -3, 6, 14, -2, 22, -5, -2, -1, 0, 5, -33, -51, -15, 2, 0, 14, -1, 8, -5, -1, 0, 0, -1,
    -2, -5, -5, -10, -5, -3, 2, 2, 5, 5, -4, -8, -1, 0, -3, 2, -13, 5, -14, 15, -1, -1, -12, 1, -1, 2, -3, 15, -1, 3,
    -3, 1, 5, -4, -2, 0, 2, 6, 2, -4, 0, 2, 15, 0, -5, -12, 0, 0, 0, 0, 12, -3, -10, 4, 0, -68, 7, -44, 27, -28, 42,
    -3, 3, 1, -23, 147, 12, 8, -162, 6, 3, 10, -12, 147, -60, -13, -24, -1, 1, -44, 40, 33, -24, -22, 48, -14, -22,
    -38, -3, -1, 61, -68, 60, -4, -37, 1, -18, 2, 29, 29, 8, 18, -74, 10, 5, -17, -22, 108, -16, 33, -124, 22, -7, 0,
    -4, 48, 26, -46, -33,
];
